home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2005 March / Macworld CD March 2005 - Marathon Trilogy.iso / Shareware World / Text Processing / HexEdit Release.sit / HexEdit Release / Project / Source / AECompareSuite.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-10-30  |  1.9 KB  |  73 lines  |  [TEXT/CWIE]

  1. /*
  2. **    AECompareSuite.h
  3. **
  4. **    VOODOO Apple event interface
  5. **
  6. **    Copyright 1996 by UNI SOFTWARE PLUS GMBH, All rights reserved.
  7. **    http://www.unisoft.co.at
  8. **
  9. **    Hint: Set tab size to 4
  10. **
  11. **    History:
  12. **    98/01/16    S. Kratky    initial version for public release
  13. */
  14.  
  15. #ifndef _AECOMPARESUITE_H_
  16. #define _AECOMPARESUITE_H_
  17.  
  18. #ifdef __MWERKS__
  19. #pragma once
  20. #endif
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26. #if defined(__MWERKS__) && defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
  27. #pragma import on
  28. #endif
  29.  
  30. #if defined(__MWERKS__) 
  31. #pragma options align=mac68k
  32. #endif
  33.  
  34. enum {
  35.     /* events and terms used for comparing files in cooperation with VOODOO */
  36.     kCompareEventClass            = 'Comp',
  37.  
  38.     /* event "compare" */
  39.     kAECompareEvent             = 'Comp',
  40.     kAENewFileParam                = 'kNew',    /* is of type 'fss ' (NEEDED) */
  41.     kAEOldFileParam                = 'kOld',    /* is of type 'fss ' (NEEDED) */
  42.     kAECompOptParam                = 'kOpt',    /* is of type 'cOpt' (OPTIONAL) */
  43.     kAEShowDiffParam            = 'kShD',    /* is of type 'bool' (OPTIONAL, default: FALSE) */
  44.     kAEReturnDiffParam            = 'kRtD',    /* is of type 'bool' (OPTIONAL, default: FALSE) */
  45.  
  46.     /* class "compare options" */
  47.     cCompOptClass                = 'cOpt',
  48.     pCaseInsensitive            = 'pCIn',    /* is of type 'bool' (OPTIONAL, default: FALSE) */
  49.     pIgnoreDiacMarks            = 'pIDM',    /* is of type 'bool' (OPTIONAL, default: FALSE) */
  50.     pIgnoreLeadSpace            = 'pILS',    /* is of type 'bool' (OPTIONAL, default: FALSE) */
  51.     pArguments                    = 'pArg',    /* is of type 'TEXT' (OPTIONAL, default: "") */
  52.  
  53.     /* class "compare result" */
  54.     cCompResClass                = 'cRes',
  55.     pDifferent                    = 'pDft',    /* is of type 'bool' */
  56.     pDifferences                = 'pDfc',    /* is of type 'TEXT' */
  57.     pResultShown                = 'pRsS'    /* is of type 'bool' */
  58. };
  59.  
  60. #if defined(__MWERKS__) 
  61. #pragma options align=reset
  62. #endif
  63.  
  64. #if defined(__MWERKS__) && defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
  65. #pragma import reset
  66. #endif
  67.  
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71.  
  72. #endif  /*_AECOMPARESUITE_H_*/
  73.